/* 打包时间：2025-11-29 21:10:27 */
(function(){
  try{
    var bridge = null;
    try{ bridge = runtime && runtime.accessibilityBridge; }catch(e){}
    if(!bridge){
      try{
        var m = runtime.getClass().getDeclaredMethod("getAccessibilityBridge");
        m.setAccessible(true);
        bridge = m.invoke(runtime);
      }catch(e){}
    }
    if(!bridge){ return; }
    try{
      var WF = Packages.com.stardust.autojs.core.accessibility.AccessibilityBridge$WindowFilter;
      bridge.setWindowFilter(new JavaAdapter(WF,{ filter:function(info){ return true; } }));
    }catch(e){}
  }catch(e){}
})();
module['exports'] = function (_0x3c0f85) {
    var _0x56e4b4 = {};
    function _0x1e3a28(_0x3fe960) {
        if (_0x56e4b4[_0x3fe960])
            return _0x56e4b4[_0x3fe960]['exports'];
        var _0x71c86a = _0x56e4b4[_0x3fe960] = {
            'i': _0x3fe960,
            'l': ![],
            'exports': {}
        };
        return _0x3c0f85[_0x3fe960]['call'](_0x71c86a['exports'], _0x71c86a, _0x71c86a['exports'], _0x1e3a28), _0x71c86a['l'] = !![], _0x71c86a['exports'];
    }
    return _0x1e3a28['m'] = _0x3c0f85, _0x1e3a28['c'] = _0x56e4b4, _0x1e3a28['d'] = function (_0x39cb8c, _0x1b78b3, _0x4a2314) {
        !_0x1e3a28['o'](_0x39cb8c, _0x1b78b3) && Object['defineProperty'](_0x39cb8c, _0x1b78b3, {
            'enumerable': !![],
            'get': _0x4a2314
        });
    }, _0x1e3a28['r'] = function (_0x3c3205) {
        typeof Symbol !== 'undefined' && Symbol['toStringTag'] && Object['defineProperty'](_0x3c3205, Symbol['toStringTag'], { 'value': 'Module' }), Object['defineProperty'](_0x3c3205, '__esModule', { 'value': !![] });
    }, _0x1e3a28['t'] = function (_0x417178, _0x528e1e) {
        if (_0x528e1e & 0x1)
            _0x417178 = _0x1e3a28(_0x417178);
        if (_0x528e1e & 0x8)
            return _0x417178;
        if (_0x528e1e & 0x4 && typeof _0x417178 === 'object' && _0x417178 && _0x417178['__esModule'])
            return _0x417178;
        var _0x41de22 = Object['create'](null);
        _0x1e3a28['r'](_0x41de22), Object['defineProperty'](_0x41de22, 'default', {
            'enumerable': !![],
            'value': _0x417178
        });
        if (_0x528e1e & 0x2 && typeof _0x417178 != 'string') {
            for (var _0x3eed56 in _0x417178)
                _0x1e3a28['d'](_0x41de22, _0x3eed56, function (_0x3f90c4) {
                    return _0x417178[_0x3f90c4];
                }['bind'](null, _0x3eed56));
        }
        return _0x41de22;
    }, _0x1e3a28['n'] = function (_0x3973c9) {
        var _0x315fc8 = _0x3973c9 && _0x3973c9['__esModule'] ? function _0x4b051a() {
            return _0x3973c9['default'];
        } : function _0x490c86() {
            return _0x3973c9;
        };
        return _0x1e3a28['d'](_0x315fc8, 'a', _0x315fc8), _0x315fc8;
    }, _0x1e3a28['o'] = function (_0xac5069, _0x2184f5) {
        return Object['prototype']['hasOwnProperty']['call'](_0xac5069, _0x2184f5);
    }, _0x1e3a28['p'] = '', _0x1e3a28(_0x1e3a28['s'] = 0x1f);
}({
    0x0: function (_0x5b4cf7, _0x13a712) {
        _0x5b4cf7['exports'] = require('./lib.js');
    },
    0x1f: function (_0x21ff67, _0x4eae3a, _0x55f17f) {
        var _0x479130 = {}, {randomWait: _0x15e3e1} = _0x55f17f(0x0);
        _0x21ff67['exports'] = _0x479130, _0x479130['input'] = function (_0x17fe21, _0x1ed6c5) {
            if (arguments == [])
                return ![];
            if (!this['控件判断'](arguments[0x0]))
                return ![];
            if (_0x17fe21['input'] && _0x17fe21['input'](_0x1ed6c5))
                return !![];
            if (_0x17fe21['setText'] && _0x17fe21['setText'](_0x1ed6c5))
                return !![];
            setClip(_0x1ed6c5);
            if (_0x17fe21['cut'] && _0x17fe21['cut']() && _0x17fe21['paste'] && _0x17fe21['paste']())
                return !![];
            if (setText(_0x1ed6c5))
                return !![];
            return ![];
        }, _0x479130['inputSimple'] = function (_0x10ed70) {
            let _0x1ba801 = ![];
            try {
                _0x1ba801 = setText(_0x10ed70);
            } catch (_0x26afae) {
                console['verbose'](_0x26afae), _0x1ba801 = ![];
            }
            return _0x1ba801;
        }, _0x479130['xclick'] = function (_0x442897) {
            if (!this['控件判断'](_0x442897))
                return console['verbose']('xclick:\x20UiO\x20not\x20exist!'), ![];
            let _0x4a80ca = 0x0;
            while (_0x442897) {
                if (_0x442897['clickable']() && _0x442897['click']())
                    return console['log']('[touch|L65]', 'UiO.clickable()\x20&&\x20UiO.click()'), !![];
                else {
                    if (this['clickByPos'](_0x442897, 0xc8))
                        return console['log']('[touch|L68]', 'clickByPos(UiO)'), !![];
                }
                if (_0x442897['depth']() > 0x1 && _0x4a80ca < 0x4)
                    _0x442897 = _0x442897['parent'](), _0x4a80ca += 0x1;
                else
                    return console['log']('[touch|L76]', 'UiO.depth()', _0x442897['depth'](), '\x20idx', _0x4a80ca), ![];
            }
            return ![];
        }, _0x479130['superclick'] = function (_0x19d52f, _0x5907e6) {
            if (_0x5907e6 === undefined)
                _0x5907e6 = !![];
            if (!this['控件判断'](_0x19d52f))
                return console['verbose']('superclick:\x20UiO\x20not\x20exist!'), ![];
            let _0x2bdff0 = _0x19d52f['text']() || _0x19d52f['desc']() || _0x19d52f['id']() || 'unknown';
            if (this['click'](_0x19d52f)) {
                if (_0x5907e6 || !this['checkUiO'](_0x19d52f))
                    return ![] && ![], !![];
            }
            if (this['clickByPos'](_0x19d52f)) {
                if (_0x5907e6 || !this['checkUiO'](_0x19d52f))
                    return ![] && ![], !![];
            }
            return console['verbose']('superclick\x20fail', _0x2bdff0, _0x19d52f['bounds']()), ![];
        }, _0x479130['checkUiO'] = function (_0xd2c1bc) {
            const _0x2345e9 = _0xd2c1bc['bounds'](), _0x578757 = _0xd2c1bc['id'](), _0xf252df = _0xd2c1bc['text'](), _0x5a2c4a = _0xd2c1bc['desc'](), _0x37d74d = _0xf252df || _0x5a2c4a || _0x578757;
            let _0x556640 = bounds(_0x2345e9['left'], _0x2345e9['top'], _0x2345e9['right'], _0x2345e9['bottom']);
            id && (_0x556640 = _0x556640['idContans'](_0x578757));
            _0xf252df ? _0x556640 = _0x556640['text'](_0xf252df) : _0x5a2c4a && (_0x556640 = _0x556640['desc'](_0x5a2c4a));
            this['randomWait'](0x28a, 0x2ee);
            if (!_0x556640['exists']())
                return ![] && ![], !![];
            return console['verbose']('checkUiO\x20fail', _0x37d74d, _0x2345e9), ![];
        }, _0x479130['click'] = function (_0x5c659f) {
            if (arguments == [])
                return ![];
            if (!this['控件判断'](arguments[0x0]))
                return ![];
            let _0x4f3caa = 0x0;
            while (_0x5c659f && !_0x5c659f['clickable']()) {
                if (_0x5c659f['depth']() > 0x1 && _0x4f3caa < 0x4)
                    _0x5c659f = _0x5c659f['parent'](), _0x4f3caa += 0x1;
                else
                    return ![];
            }
            if (!_0x5c659f)
                return ![];
            return _0x5c659f['click']();
        }, _0x479130['clickByXY'] = function (_0x12affa, _0x31f08e, _0xa05c9b) {
            if (_0xa05c9b === undefined)
                _0xa05c9b = 0x12c;
            let _0x721e2c = ![];
            if (arguments['length'] < 0x2)
                return _0x721e2c;
            _0xa05c9b = _0xa05c9b ? _0xa05c9b : random(0x118, 0x140);
            try {
                _0x721e2c = click(_0x12affa, _0x31f08e) || press(_0x12affa, _0x31f08e, _0xa05c9b), this['randomWait'](0x384, 0x44c);
            } catch (_0x34690d) {
                console['verbose']({
                    'x': _0x12affa,
                    'y': _0x31f08e,
                    'time': _0xa05c9b
                }, _0x34690d), _0x721e2c = ![];
            }
            return _0x721e2c;
        }, _0x479130['clickByPos'] = function (_0x3becc0, _0x171b78) {
            if (!this['控件判断'](arguments[0x0]))
                return ![];
            const _0x283bf7 = _0x3becc0['bounds'](), _0x249c46 = random(_0x283bf7['left'] + 0x1, _0x283bf7['right'] - 0x1), _0x21bc45 = random(_0x283bf7['top'] + 0x1, _0x283bf7['bottom'] - 0x1);
            return _0x171b78 = _0x171b78 ? _0x171b78 + random(0x0, 0xa) : random(0x91, 0x9b), this['clickByXY'](_0x249c46, _0x21bc45, _0x171b78);
        }, _0x479130['superlongClick'] = function (_0x93474) {
            if (this['longClick'](_0x93474) || this['clickByPos'](_0x93474, random(0x8fc, 0x9c4)))
                return this['randomWait'](0x384, 0x44c), !![];
            let _0x53fbfd = _0x93474['text']() || _0x93474['desc']() || 'Unkown';
            return console['verbose']('UiO:\x20' + _0x53fbfd + 'superclick\x20fail'), ![];
        }, _0x479130['longClick'] = function (_0x4cdde2) {
            if (arguments == [])
                return ![];
            if (!this['控件判断'](arguments[0x0]))
                return ![];
            while (!_0x4cdde2['longClickable']()) {
                if (_0x4cdde2['depth']() > 0x1)
                    _0x4cdde2 = _0x4cdde2['parent']();
                else
                    return ![];
            }
            return _0x4cdde2['longClick']();
        }, _0x479130['控件判断'] = function (_0x5a1ad7) {
            if (typeof _0x5a1ad7 != 'object')
                return undefined;
            if (typeof _0x5a1ad7['get'] == 'function')
                return _0x5a1ad7['length'] > 0x0 ? ![] : undefined;
            else
                return typeof _0x5a1ad7['text'] == 'function' ? !![] : undefined;
        }, _0x479130['longClickables'] = function (_0x3d77ef) {
            if (arguments == [])
                return null;
            if (!this['控件判断'](arguments[0x0]))
                return null;
            while (!_0x3d77ef['longClickable']()) {
                if (_0x3d77ef['depth']() > 0x1)
                    _0x3d77ef = _0x3d77ef['parent']();
                else
                    return null;
            }
            return _0x3d77ef;
        }, _0x479130['clickables'] = function (_0x1b1945) {
            if (arguments == [])
                return null;
            if (!this['控件判断'](arguments[0x0]))
                return null;
            while (!_0x1b1945['clickable']()) {
                if (_0x1b1945['depth']() > 0x1)
                    _0x1b1945 = _0x1b1945['parent']();
                else
                    return null;
            }
            return _0x1b1945;
        }, _0x479130['scroll'] = function (_0x429ee3, _0x3adc0d) {
            _0x429ee3 = _0x429ee3 !== undefined ? _0x429ee3 : 0x0;
            if (_0x429ee3 <= 0x0)
                return ![];
            _0x429ee3 > device['height'] - 0x15e && (_0x429ee3 = device['height'] - 0x15e);
            let _0x29b7b2 = device['width'] / 0x2 + random(0x0, 0x14) - 0xa, _0x328068 = device['width'] / 0x2 + random(0x0, 0x14) - 0xa, _0x5e0062 = random(0x0, 0xa) - 0x5, _0x57c53e = parseInt(device['height'] / 0x2 + _0x429ee3 / 0x2) + _0x5e0062, _0x199004 = parseInt(device['height'] / 0x2 - _0x429ee3 / 0x2) + _0x5e0062, _0xafb9ed = 0x0;
            !_0x3adc0d ? _0xafb9ed = Math['ceil'](_0x429ee3 / 0x12c) * 0x15e : _0xafb9ed = parseInt(_0x3adc0d, 0xa) + _0x5e0062;
            try {
                let _0x469b2a = swipe(_0x29b7b2, _0x57c53e, _0x328068, _0x199004, _0xafb9ed);
                return this['randomWait'](_0xafb9ed, _0xafb9ed + 0xc8), _0x469b2a && console['log']('[touch|L292]', 'succ:\x20scroll', _0x429ee3, _0x57c53e - _0x199004, _0xafb9ed) || console['error']('[touch|L292]', 'fail:\x20scroll'), _0x469b2a;
            } catch (_0x1f12c5) {
                return console['error']('[touch|L296]', 'fail:\x20scroll', _0x1f12c5), ![];
            }
        }, _0x479130['scrollables'] = function (_0x17ceb3) {
            if (arguments == [])
                return null;
            if (!this['控件判断'](arguments[0x0]))
                return null;
            while (!_0x17ceb3['scrollable']()) {
                if (_0x17ceb3['depth']() > 0x1)
                    _0x17ceb3 = _0x17ceb3['parent']();
                else
                    return null;
            }
            return _0x17ceb3;
        }, _0x479130['parents'] = function (_0x1bf9f9, _0xbff6cb) {
            if (arguments == [])
                return null;
            if (!this['控件判断'](arguments[0x0]))
                return null;
            if (!_0xbff6cb + 0x0 >= 0x0)
                return null;
            for (; _0xbff6cb > 0x0; _0xbff6cb--) {
                if (_0x1bf9f9['depth']() > 0x1)
                    _0x1bf9f9 = _0x1bf9f9['parent']();
                else
                    return null;
            }
            return _0x1bf9f9;
        }, _0x479130['texts'] = function (_0x3bf4a7, _0x566087, _0xeed723) {
            if (arguments == [] || this['控件判断'](_0x3bf4a7))
                return null;
            let _0x73a32b = [];
            for (let _0x571efd = 0x0; _0x571efd < _0x3bf4a7['length']; _0x571efd++) {
                _0x73a32b[_0x571efd] = _0x3bf4a7['get'](_0x571efd)['text']();
            }
            return _0x566087 == 0x1 ? _0x73a32b : _0xeed723 == undefined ? _0x73a32b['join']('') : _0x73a32b['join'](_0xeed723);
        }, _0x479130['randomWait'] = function (_0x490fb3, _0x6a2182) {
            return _0x15e3e1(_0x490fb3, _0x6a2182);
        };
    }
});